<div class="modal fade in ip-box" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" id="editList">
	<div class="modal-dialog" role="document" >
		<div class="modal-content">
			<div class="modal-header">
				<h4 class="modal-title pull-left">资源列表</h4>
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
			</div>
			<div class="modal-body">

				<button type="button" 
                        class="add-column btn btn-primary" 
                        data-toggle="modal" 
                        data-target="#list"
                        data-dismiss="modal" 
                        ng-disabled="hasSelected==false"
                        ng-click="submitChoseList()"
                        >
            		<span class="glyphicon glyphicon-plus"></span>  
            		选择
            	</button>
            	
       			 <div class="input-group pull-right search-width"style="width: 250px;">
					<input type="text" 
                           class="form-control search-input" 
                           placeholder="请输入需要检索的内容" 
                           ng-model="newlyAddedListSearch"
                           >
					<span class="input-group-addon search-btn" ng-click="searchBtn()">
					   <img src="../images/right-product/search.png">检索
					</span>
				</div> 

				<div class="form-group pull-right form-span">
                    <span class="pull-left form-span">资源分类</span>
                    <select name="resourceTypeList" 
                            class="pull-left" 
                            ng-options="obj.id as obj.name for obj in resTypeList" 
                            ng-model="newlyAddedListSelect"
                            ng-change="getSelectId()"
                            >
                            <option value="">全部</option>
                    </select>
            	</div>

				<table class="table-column table table-bordered table-header">
                    <thead class="border-table">
                        <tr>
                        	<td class="w10 text-center">
                        		<input type="checkbox"
                                       ng-model="listBool" 
                                       ng-click="_selectAll(listBool, resListTabVal)"
                                       >
                        	</td>
                            <td class="w40 text-center">名称</td>
                            <td class="w20 text-center">类型</td>
                            <td class="w30 text-center">出版日期</td>
                        </tr>
                    </thead>
                </table>
                <div class="table-body">   
                   <table class="table-column table table-bordered table-header talbe-fbfbfb">
                        <tbody class="">
                           <tr ng-repeat="val in resListTabVal" ng-class="{'active':$index%2!=0}" >
                                <td class="w10 text-center">
                                	<input type="checkbox"
                                           ng-checked="listBool" 
                                           ng-click="_select(singleBool, val)"
                                           ng-model="singleBool" 
                                           >
                                </td>
                                <td class="w40 text-center">
                                	{{ val.resName }}
                                </td>
                                <td class="w20 pointer text-center" >
									{{ val.name }}
                                </td>
                                <td class="w30 text-center">
                                	{{ val.publishDate }}
                                </td>
                            </tr>
                        </tbody>
                        <tfoot>
                            <tr>
                                <td colspan="12" style="padding-bottom:6px; background:#a2b6bd;">
                                    <nav>
                                        <tm-pagination style="padding-top:5px;" conf="paginationResList"></tm-pagination>
                                    </nav>  
                                </td>
                                <td colspan="12" class="text-center" ng-hide="isNoData">无相关信息</td>
                            </tr>
                        </tfoot>
                    </table>
				</div> 
			</div>
		</div>
	</div>
</div>